package com.example.service;

import com.example.VO.EmpDepVO;
import com.example.entity.Employees;
import com.example.utils.ReturnT;

import java.util.List;
import java.util.Map;


public interface EmployeesService {

    Object insert(Employees employees);

    Object delete(int id);

    Object update(Employees employees);

    Employees load(int id);

    Map<String,Object> pageList(int offset, int pagesize);

    ReturnT<List<EmpDepVO>> selectAllEmp(String firstName, String lastName, String departmentCode);
}
